<!DOCTYPE html>
<html>

	<head>
		<meta charset="utf-8">
		<title></title>
		<meta name="viewport" content="width=device-width, initial-scale=1,maximum-scale=1,user-scalable=no">
		<meta name="apple-mobile-web-app-capable" content="yes">
		<meta name="apple-mobile-web-app-status-bar-style" content="black">

		<!--标准mui.css-->
		<link rel="stylesheet" href="../css/mui.min.css">
		<link rel="stylesheet" href="../plugins/pdfPreview/css/pdf-read.css" />

		<style>
			input,
			button,
			.mui-btn {
				margin-top: 10px;
				margin-left: 10px;
			}
			
			table {
				border: 1px solid #3a96fc;
				text-align: center;
				width: 100%;
			}
			
			td {
				padding-top: 5px;
				padding-bottom: 5px;
				border-top: solid 1px #3a96fc;
			}
			
			tr {
				border-left: none;
				border-right: none;
				color: #000000;
				font-size: 14px;
			}
			
			.col-1 {
				width: 200px;
				border-right: 1px solid #3a96fc;
				border-left: 1px solid #3a96fc;
			}
			
			.col-2 {
				width: 200px;
			}
			
			.row-odd {
				background-color: #fbfcfd;
			}
		</style>
	</head>

	<body >
		<header class="mui-bar mui-bar-nav">
			<a class="mui-action-back mui-icon mui-icon-left-nav mui-pull-left"></a>
			<h1 id="headtitle" class="mui-title">附件预览</h1>
		</header>
		<div class="mui-content" style="padding-left:20px;padding-right:20px;text-align:center;">
			<div id="tableTitle" style="font-size:20px;margin-top:20px;margin-bottom:10px;width:100%;color:#3a96fc;">

				<div class="mui-content-padded">
					<p id="totalNum" style="text-align: center;">正在加载...</p>
					<div class="img-div" id="img"></div>
				</div>
			</div>

	</body>

	<script src="../lib/mui/mui.min.js"></script>
	<script src="../plugins/pdfPreview/js/jquery-2.1.0.js"></script>
	<script src="../plugins/pdfPreview/js/pdf.js"></script>
	<script src="../plugins/pdfPreview/js/pdf.worker.js"></script>
	<script src="../plugins/pdfPreview/js/mui.zoom.js"></script>
	<script src="../plugins/pdfPreview/js/mui.previewimage.js"></script>
	<script src="../plugins/pdfPreview/js/pdf-read.js"></script>
	<script type="text/javascript" src="../js/winVisibleControl.js"></script>
	<script>
		var pdfUrl;
		mui.init({
			swipeBack: true //启用右滑关闭功能
		});

		mui.plusReady(function() {
			plus.navigator.setStatusBarStyle('dark');
			//chrli 传递预览pdf url
			var self = plus.webview.currentWebview();

			//document.getElementById("headtitle").innerHTML=self.title;
			//feature= self.param;

		});
	</script>

</html>